% This file was created by matlab2tikz v0.2.0.
% Copyright (c) 2008--2012, Nico Schlömer <nico.schloemer@gmail.com>
% All rights reserved.
% 
% The latest updates can be retrieved from
%   http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz
% where you can also make suggestions and rate matlab2tikz.
% 
% 
% 
\begin{tikzpicture}

% defining custom colors
\definecolor{mycolor1}{rgb}{0,0.75,0.75}
\definecolor{mycolor2}{rgb}{0.75,0,0.75}
\definecolor{mycolor3}{rgb}{0.75,0.75,0}


\begin{semilogyaxis}[%
width=0.4\textwidth,
height=0.3\textwidth,
scale only axis,
xmin=0, xmax=9,
xlabel={level},
ymin=50.5, ymax=128000,
yminorticks=true,
ylabel={number of DOFs},
axis on top]
\addplot [
color=blue,
solid
]
coordinates{
 (0,250)(1,101) 
};

\addplot [
color=green!50!black,
solid
]
coordinates{
 (0,500)(1,245)(2,103) 
};

\addplot [
color=red,
solid
]
coordinates{
 (0,1000)(1,542)(2,313)(3,130) 
};

\addplot [
color=mycolor1,
solid
]
coordinates{
 (0,2000)(1,1346)(2,851)(3,538)(4,192) 
};

\addplot [
color=mycolor2,
solid
]
coordinates{
 (0,4000)(1,2621)(2,1577)(3,1203)(4,623)(5,229) 
};

\addplot [
color=mycolor3,
solid
]
coordinates{
 (0,8000)(1,5346)(2,3374)(3,2399)(4,1905)(5,910)(6,289) 
};

\addplot [
color=darkgray,
solid
]
coordinates{
 (0,16000)(1,10852)(2,6752)(3,5345)(4,4713)(5,2492)(6,1058)(7,280) 
};

\addplot [
color=blue,
solid
]
coordinates{
 (0,32000)(1,21483)(2,14277)(3,10320)(4,8382)(5,7428)(6,3336)(7,1390)(8,321) 
};

\addplot [
color=green!50!black,
solid
]
coordinates{
 (0,64000)(1,43816)(2,28180)(3,22502)(4,20400)(5,19344)(6,9529)(7,4485)(8,1650)(9,300) 
};

\end{semilogyaxis}
\end{tikzpicture}
